Text processing method and device

ABSTRACT

A text processing method is provided, including: acquiring position information of an external touch in response to the external touch sensed by a touch terminal; acquiring a character image based on the position information of the external touch; acquiring a first text by recognizing characters in the character image; acquiring a word segmentation result by performing word segmentation on characters in the first text; and displaying the word segmentation result. The text processing method combines technologies of touch sensing, image recognition and word segmentation, so as to acquire efficiently and quickly a character, a word, a named entity, and the like in the region indicated by the external touch for various systems, which is convenient for a user to select a keyword directly in the text instead of inputting the keyword in the follow-up operation, thus improving the efficiency of operation.

CROSS REFERENCE TO RELATED APPLICATION

The present application claims priority to Chinese Patent ApplicationNo. 201610908977.2, titled “TEXT PROCESSING METHOD AND DEVICE”, filed onOct. 18, 2016 with the State Intellectual Property Office of People'sRepublic of China, which is incorporated herein by reference in itsentirety.

TECHNICAL FIELD

The present disclosure relates to the field of man-machine interaction,and in particular, to a text processing method and a text processingdevice.

BACKGROUND

At present, people receive a large amount of text information every daythrough touch terminals such as mobile phones or tablet computers,Examples of the text information includes short messages and messagespushed by various applications such as instant messaging software. Whena user of a touch terminal wants to operate a keyword of interest in thetext information (for example, searching or sharing a keyword in thetext information), it will require multiple operation steps, which istime-consuming and inconvenient.

Thus, those skilled in the art need to provide a text processing methodand a text processing device to facilitate operating a keyword in a textby a user.

SUMMARY

In order to address the issue in the conventional art, the presentdisclosure provides a text processing method and a text processingdevice to facilitate operating a keyword in a text by a user.

Embodiments of the present disclosure provide a text processing method,including:

acquiring position information of an external touch in response to anexternal touch sensed by a touch terminal;

acquiring a character image based on the position information of theexternal touch;

acquiring a first text by recognizing characters in the character image;

acquiring a word segmentation result by performing word segmentation oncharacters in the first text; and

displaying the word segmentation result.

Preferably, the step of acquiring a character image based on theposition information of the external touch includes:

acquiring a word segmentation region based on the position informationof the external touch; and

acquiring the character image by taking a screenshot of the wordsegmentation region.

Preferably, the step of acquiring a word segmentation region based onthe position information of the external touch includes:

acquiring region position information of each of display regions of thetouch terminal;

detecting a position relationship between the external touch and each ofthe display regions of the touch terminal, based on the positioninformation of the external touch and the region position information ofeach of the display regions of the touch terminal; and

determining a first display region as the word segmentation region ifthe external touch falls in the first display region, where the firstdisplay region is one of the display regions of the touch terminal.

Preferably, the step of displaying the word segmentation resultincludes:

generating a word segmentation display interface and one or more viewcontrols;

adding each item in the word segmentation result respectively into oneof the view controls; and

displaying all of the view controls on the word segmentation displayinterface.

Preferably, the step of acquiring a word segmentation result byperforming word segmentation on characters in the first text includes:

determining whether the number of characters of the first text isgreater than a preset value;

acquiring the word segmentation result by performing the wordsegmentation on all characters in the first text if the number ofcharacters of the first text is not greater than the preset value; and

determining a second text based on the position information of theexternal touch and acquiring the word segmentation result by performingthe word segmentation on all characters in the second text, if thenumber of characters of the first text is greater than the preset value,where the first text includes all characters in the second text, and thenumber of characters of the second text is equal to the preset value.

Preferably, after displaying the word segmentation result, the followingsteps are included:

receiving a keyword selection instruction triggered by a user based onthe word segmentation result;

acquiring a keyword selected by the user from the word segmentationresult in response to the keyword selection instruction;

displaying the keyword;

receiving a keyword operation instruction triggered by the user, wherethe keyword operation instruction carries an operation type, and theoperation type includes searching and sharing; and

operating the keyword in accordance with the operation type.

Embodiments of the present disclosure also provide another textprocessing method, including:

displaying a character region on the touch screen;

acquiring a character image by taking a screenshot of the characterregion, in response to an external touch to the character region;

acquiring a to-be-processed text by recognizing characters in thecharacter image;

performing word segmentation on characters in the to-be-processed text;and

displaying a word segmentation result.

Preferably, the step of displaying a word segmentation result,specifically includes:

generating a word segmentation display interface, where the wordsegmentation display interface includes one or more subviews; and

displaying each item in the word segmentation result respectively in oneof the subviews.

Embodiments of the present disclosure also provide a text processingdevice, including: a position acquisition module, an image acquisitionmodule, a character recognition module, a word segmentation processingmodule and a word segmentation display module;

the position acquisition module is configured to acquire positioninformation of an external touch in response to an external touch sensedby a touch terminal;

the image acquisition module is configured to acquire a character imagebased on the position information of the external touch;

the character recognition module is configured to acquire a first textby recognizing characters in the character image;

the word segmentation processing module is configured to acquire a wordsegmentation result by performing word segmentation on the first text;and

the word segmentation display module is configured to display the wordsegmentation result.

Preferably, the image acquisition module includes: an acquisitionsub-module and a screenshot sub-module;

the acquisition sub-module is configured to acquire a word segmentationregion based on the position information of the external touch; and

the screenshot sub-module is configured to acquire the character imageby taking a screenshot of the word segmentation region.

Preferably, the acquisition sub-module includes: a position informationacquisition sub-module, a position relationship determination sub-moduleand a word segmentation region determination sub-module;

the position information acquisition sub-module is configured to acquireregion position information of each of display regions of the touchterminal;

the positional relationship determination sub-module is configured todetect a position relationship between the external touch and each ofthe display regions of the touch terminal, based on the positioninformation of the external touch and the region position information ofeach of the display regions of the touch terminal; and

the word segmentation region determination sub-module is configured todetermine the first display region as the word segmentation region ifthe external touch falls in the first display region, where the firstdisplay region is one of the display regions of the touch terminal.

Preferably, the word segmentation display module includes: a generatingsub-module, an adding sub-module and a display sub-module.

The generating sub-module is configured to generate a word segmentationdisplay interface and one or more view controls;

the adding sub-module is configured to add each item in the wordsegmentation result respectively into one of the view controls; and

the display sub-module is configured to display all of the view controlson the word segmentation display interface.

Preferably, the word segmentation processing module includes: a judgmentsub-module, a word segmentation sub-module and a determinationsub-module;

the judgment sub-module is configured to judge whether the number ofcharacters of the first text is greater than a preset value;

the word segmentation sub-module is configured to acquire the wordsegmentation result by performing word segmentation on all characters inthe first text, if the judgment sub-module judges that the number ofcharacters of the first text is not greater than the preset value;

the determination sub-module is configured to determine a second textbased on the position information of the external touch, if the judgmentsub-module determines that the number of characters of the first text isgreater than the preset value, where the first text includes allcharacters in the second text, and the number of characters of thesecond text is equal to the preset value; and

the word segmentation sub-module is further configured to acquire theword segmentation result by performing the word segmentation on allcharacters in the second text, if the judgment sub-module judges thatthe number of characters of the first text is greater than the presetvalue.

Preferably, the text processing device further includes: an instructionreceiving module, a keyword acquisition module, a keyword display moduleand a keyword operation module;

the instruction receiving module is configured to receive a keywordselection instruction triggered by a user based on the word segmentationresult;

the keyword acquisition module is configured to acquire a keywordselected by the user from the word segmentation result in response tothe keyword selection instruction;

the keyword display module is configured to display the keyword;

the instruction receiving module is further configured to receive akeyword operation instruction triggered by the user, where the keywordoperation instruction carries an operation type, and the operation typeincludes searching and sharing; and

the keyword operation module is configured to operate the keyword inaccordance with the operation type.

Embodiments of the present disclosure also provide another textprocessing device, including: a display module, a screenshot module, arecognition module and a word segmentation module;

the display module is configured to display a character region on thetouch screen;

the screenshot module is configured to acquire a character image bytaking a screenshot of the character region, in response to an externaltouch to the character region;

the recognition module is configured to acquire a to-be-processed textby recognizing characters in the character image;

the word segmentation module is configured to perform word segmentationon characters in the to-be-processed text; and

the display module is further configured to display the wordsegmentation result.

Preferably, the display module includes: a generating sub-module and adisplay sub-module;

the generating sub-module is configured to generate a word segmentationdisplay interface, where the word segmentation display interfaceincludes one or more subviews; and

the display sub-module is configured to display each item in the wordsegmentation result respectively in one of the subviews.

The present disclosure has at least the following advantages over theconventional art:

With the text processing method provided according to the embodiments ofthe present disclosure, position information of an external touch isacquired after the external touch is sensed by a touch terminal. A wordsegmentation region is determined based on the position information ofthe external touch, and a character image including a to-be-segmentedtext is acquired from a character region. The character image presents aregion in which a keyword to be further operated by the user occurs.After that, characters in the character image are recognized to acquirea first text, and then word segmentation is performed on the first textto acquire the word segmentation result. Then, the word segmentationresult is displayed, so that the user can select one or more keywordsfrom the word segmentation result to perform a next operation. In thisway, the text processing method according to the embodiment of thepresent disclosure combines technologies of touch sensing, imagerecognition and word segmentation, so as to acquire efficiently andquickly a character, a word, a named entity, and the like in the regionindicated by the external touch for various systems, which is convenientfor a user to select a keyword directly in the text instead of inputtingthe keyword in the follow-up operation, thus improving the efficiency ofoperation.

BRIEF DESCRIPTION OF THE DRAWINGS

The drawings used in the description of the embodiments or theconventional technology will be described briefly as follows, in orderto describe the technical solutions according to the embodiments of thepresent application or the conventional technology clearer. It isapparent that the drawings in the following description are only someembodiments of the present application. For those skilled in the art,other drawings may be obtained according to these drawings without anycreative work.

FIG. 1 is a flowchart of a text processing method according to a firstembodiment of the present disclosure;

FIG. 2a is a schematic diagram of a external touch region and a wordsegmentation region in a text processing method according to anembodiment of the present disclosure;

FIG. 2b is a schematic diagram of a word segmentation result of the textshown in FIG. 2 a;

FIGS. 3a to 3c are schematic diagrams of a word segmentation displayinterface in a text processing method according to an embodiment of thepresent disclosure;

FIG. 4a and FIG. 4b are schematic diagrams of performing an operation ona keyword in a word segmentation result in a text processing methodaccording to an embodiment of the present disclosure;

FIGS. 5a to 5c are schematic diagrams of performing another operation ona keyword in a word segmentation result in a text processing methodaccording to an embodiment of the present disclosure;

FIG. 6 is a flowchart of a text processing method according to a secondembodiment of the present disclosure;

FIG. 7 is a schematic structural diagram of the text processing deviceaccording to a first embodiment of the present disclosure; and

FIG. 8 is a schematic structural diagram of the text processing deviceaccording to a second embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

For a better understanding of the present disclosure by those skilled inthe art, the technical solutions according to the embodiments of thepresent disclosure will be described clearly and completely inconjunction with the drawings. It is clear that the disclosedembodiments are a few of the embodiments of the present disclosure,rather than all of the embodiments. Other embodiments obtained by thoseskilled in the art based on the embodiments of the disclosure withoutany creative work fall into the scope of the disclosure.

The foregoing and other objects, features and advantages of the presentdisclosure will become more apparent from the following detaileddescription of the embodiments of the present disclosure in conjunctionwith the accompanying drawings.

Before describing a specific embodiment of the present disclosure, anumber of technical terms related to embodiments of the presentdisclosure are described first.

Pressure touch refers to that, when a touch terminal such as a mobilephone with a touch screen senses an external pressure, the system canacquire pressure information.

Word segmentation refers to dividing a character sequence into a numberof individual characters, words or named entities. A word segmentationprocess is a process of reorganizing a continuous character sequenceinto individual characters, words or named entities in accordance withsome principles.

A named entity refers to a personal name, an organization name, a placename or any other entity identified by name. More broadly, an entityfurther includes a number, a date, a currency, an address, etc.

A keyword refers to a text fragment in a complete sentence that a useris interested in.

It should be noted that, the text processing method and device accordingto the embodiments of the present disclosure can be applied no matterwhat application is run in the touch terminal. The application includesbut not limited to a short messager, a web browser, an instant messagerand other applications with the function of displaying characters.

First Embodiment of the Text Processing Method

FIG. 1 is a flowchart of the text processing method according to thefirst embodiment of the present disclosure.

The text processing method according to the present embodiment includesthe following steps S101 to S105.

In step S101, position information of an external touch is acquired inresponse to the external touch sensed by a touch terminal.

Understandably, the touch terminal may be any device having atouch-sensing function, including but not limited to a mobile phone, atablet computer and a wearable device. The sensed external touchincludes but is not limited to a single-point or multipoint press, asingle-point or multipoint slide operation, a single-point or multipointtouch, a single-point or multi-point pressure touch, touch regionsensing, and the like. The corresponding external touch can be sensed bythe touch terminal when the external operation meets a correspondingsensing threshold.

When the touch terminal senses the external touch, the touch terminalacquires position information of the external touch of the touchterminal, such as coordinates of the external touch. The coordinates ofthe external touch are the coordinates of the external touch on thetouch terminal (generally described with an X-axis coordinate and aY-axis coordinate). At this point, a system can recognize the positionof the external touch, to perform various subsequent operations on thetouch region.

In step S102, a character image is acquired based on the positioninformation of the external touch.

In some possible implementations of the present embodiment, the step ofacquiring a character image based on the position information of theexternal touch includes: acquiring a word segmentation region based onthe position information of the external touch, and acquiring thecharacter image by taking a screenshot of the word segmentation region.

As an example, the external touch may fall in the word segmentationregion.

It should be noted that, since incompatibility between different systemsmay occur, characters displayed on the touch terminal may not bedirectly acquired. At this point, in order to process the charactersdisplayed on the touch terminal, a character image on which thecharacter is displayed can be acquired by taking a screenshot of thedisplay region of the touch terminal. Then the image recognitiontechnology is adopted to recognize characters in the character image.After that, the recognized text can be processed. In this way, acharacter displayed on the touch control terminal can be operated evenin a case that the character displayed on the touch terminal can not bedirectly acquired.

The optical character recognition (OCR) technology may be adopted bythose skilled in the art to recognize characters in the image.

In practice, there are at least two possible implementations for thestep of acquiring a word segmentation region based on the positioninformation of the external touch, which are described in details asfollows.

In a first possible implementation, the word segmentation region may bedetermined based on a current display view of the touch terminal and theposition information of the external touch. At this point, the step ofacquiring a word segmentation region based on the position informationof the external touch includes the following steps S1021 to S1023.

In step S1021, region position information of each of display regions ofthe touch terminal is acquired.

Understandably, the position of each of the display regions of the touchterminal may change depending on the operation. Therefore, in order toensure that the image in the region that a user is interested in isaccurately acquired, the character image should be determined based onthe position of each of the display regions on the terminal at the timewhen the external touch is sensed.

In step S1022, position relationship between the external touch and eachof the display regions of the touch terminal is detected based on theposition information of the external touch and the region positioninformation of each of the display regions of the touch terminal.

In step S1023, a first display region is determined as the wordsegmentation region if the external touch falls in the first displayregion, where the first display region is one of the display regions ofthe touch terminal.

In general, display regions for displaying different contents, such as aregion for displaying a character and a region for displaying an image,are located at different positions of the touch terminal. Each of thedisplay regions is identified with region coordinates. And in general,the position coordinates of each of the display regions of the touchterminal are stored in the system. After acquiring the positioninformation of the external touch, which display region the externaltouch falls in can be recognized based on the position coordinates ofeach of the display regions of the touch terminal and the positioninformation of the external touch. Then the display region can bedetermined as a word segmentation region.

Taking the coordinates as an example, the region position information ofeach of the display regions of the touch terminal is a coordinate rangeof the region. After acquiring the coordinates of the external touch,the external touch falls in the coordinate range of which display regionof the touch terminal may be determined. The region in which theexternal touch is located is the word segmentation region.

In some possible cases, the external touch may fall in a display regionfor displaying an image. After acquiring the position information of theexternal touch, the display region is determined as the wordsegmentation region, and the image displayed in the region is acharacter image, in which case there is no need to take a screenshot ofthe word segmentation region.

In addition, when a full screen display application, such as a webbrowser or a reader, is run on the touch terminal, the display regionsof the touch terminal are not divided by a visible line. At this point,the screen display region is also divided into a picture display regionand a character display region, which are displayed by different viewcontrols, and identified with the position information. If the externaltouch is in the display region where a text is displayed, the displayregion of the entire text on the touch terminal is determined as theword segmentation region.

FIG. 2a illustrates an example of the method of acquiring the wordsegmentation region in this possible implementation. Understandably, thefollowings are exemplary illustration only, which are not for anylimitation.

As shown in FIG. 2a , the external touch falls in the region surroundedby the circle on the touch terminal which a finger points to. At thispoint, the system can acquire the position information of the externaltouch, and determine a region of a short message text box as the wordsegmentation region based on the position information of the externaltouch and the position of each of the view controls.

It should also be noted that, FIG. 2a shows the external touch activatedby single-finger pressing only as an example to describe how todetermine a word segmentation region, while the means for activating anexternal touch is not limited in the present disclosure, which may beconfigured by those skilled in the art according to circumstances withsimilar embodiments to those described above and will not be describedin detail herein.

In a second possible implementation, the word segmentation region may bedetermined based on a predetermined word segmentation range.

Specifically, after acquiring the position information of the externaltouch, a region including the external touch is determined as the wordsegmentation region based on the preset word segmentation range. Forexample, the word segmentation region may be defined as a region havingan upper edge 100 pixels above the external touch and a lower edge 100pixels below the external touch and having a width as the display widthof the touch terminal.

It should be noted that, when using the method of dividing regions,incomplete characters may be included in the region. At this point, whenperforming character recognition on the character image, the incompletecharacters may affect the accuracy of the character recognition.Therefore, after acquiring the word segmentation region, the wordsegmentation region may be reduced or enlarged accordingly so as toavoid incomplete characters. Alternatively, after acquiring thecharacter image by taking a screenshot, the image recognition techniquemay be adopted to recognize incomplete characters in the text image, toremove the incomplete characters from the character image.

In step S103, a first text is acquired by recognizing characters in thecharacter image.

The optical character recognition (OCR) technology may be adopted bythose skilled in the art to recognize characters in the character image.Detailed description for the character recognition methods andprocedures are omitted herein.

In step S104, a word segmentation result is acquired by performing wordsegmentation on characters in the first text.

As an example, those skilled in the art may adopt a natural languagealgorithm to segment the first text according to the specific semanticsof the characters in the first text. Detailed description for the wordsegmentation methods and procedures are omitted herein.

Since the number of characters included in the word segmentation regionmay be too large, in practice, if the word segmentation operation isperformed on all the characters in the first text, too many items of theword segmentation result may be acquired, which is not convenient for auser to select keywords. Therefore, in order to improve the efficiencyof word segmentation and facilitate selecting by the user the keywordfrom the word segmentation result, in the text processing methodaccording to the embodiment, a part of the characters in the characterimage may be selected to be segmented according to circumstances, sothat the user can choose a keyword from the word segmentation result ofthe part of the characters, thereby improving the interactive experienceof the user.

In a preferred implementation of the present embodiment, the step ofacquiring a word segmentation result by performing word segmentation oncharacters in the first text, includes: determining whether the numberof characters of the first text is greater than a preset value;acquiring the word segmentation result by performing the wordsegmentation on all characters in the first text if the number ofcharacters of the first text is not greater than the preset value; anddetermining a second text based on the position information of theexternal touch and acquiring the word segmentation result by performingthe word segmentation on all characters in the second text if the numberof characters of the first text is greater than the preset value, wherethe first text includes all characters in the second text, and thenumber of characters of the second text is equal to the preset value.

It should be noted that, when the position information of the externaltouch is acquired, characters in the first text near to the externaltouch may be determined. At this point, characters near to the externaltouch and having a number equal to the preset value are acquired togenerate the second text according to the preset rule, and then a wordsegmentation result is acquired by performing word segmentation on thesecond text. For example, 50 or 100 characters near to the sensedpressure region are acquired to generate the second text. A half of the50 or 100 characters may be taken in front of the external touch, andthe other half of the 50 or 100 characters may be taken behind theexternal touch. The method for acquiring the second text may beconfigured by those skilled in the art according to circumstances, whichare not listed herein.

In step S105, the word segmentation result is displayed.

After performing word segmentation on the first text, a wordsegmentation result of multiple words, characters, phases and namedentities is acquired. FIG. 2b shows the word segmentation resultobtained from the text in the word segmentation region shown in FIG. 2a.

After performing word segmentation on the text displayed in thecharacter image, the word segmentation result is displayed. In this way,a keyword that needs further operation may be selected directly from theword segmentation result by the user, which is convenient for the userto directly operate the keyword in the text.

Understandably, the word segmentation result acquired in the aboveembodiments may be displayed to the user in a window. Furthermore, theuser may choose to close the keyword selection window to terminate thekeyword selection process.

In some possible implementations of the present embodiment, the step ofdisplaying the word segmentation result includes: generating a wordsegmentation display interface and one or more view controls, addingeach item in the word segmentation result respectively into one of theview controls, and displaying all of the view controls on the wordsegmentation display interface.

FIGS. 3a to 3c show a specific implementation of a word segmentationdisplay interface. In the word segmentation display interface, eachrectangle block represents a displayed view control, and each of theview controls is configured to display an item (a character, a word or anamed entity) in the word segmentation result. A display size, a displaylocation or the like of each of the view controls may be configuredaccording to circumstances. For example, the view controls may bedispersed in the word segmentation display interface to facilitateselecting a keyword by the user. Also, characters, words or namedentities in the word segmentation result may be displayed usingdifferent colors, fonts, sizes, or the like as required. For example, adifferent display effect may be employed to show a number or a word witha high probability to be selected by the user from the word segmentationresult. A user may directly click the corresponding view control in theword segmentation display interface when selecting keyword from the wordsegmentation result. The characters, words or named entities in the wordsegmentation result may be separated by a space or a line without aspace as shown in FIGS. 4a to 4c . In the case that there are too manyitems in the word segmentation result which can not be fully displayedin one screen in a distinguishable way, the word segmentation result maybe displayed to the user in a single screen supporting a slideoperation, or in multiple screens. In addition, the word segmentationdisplay interface or window includes a close button as the button “×”shown in the lower left corner of FIG. 3c . The user may close the wordsegmentation display interface or window by clicking the close button.

In addition, the word segmentation display interface may be in thedisplay mode as shown in FIGS. 3a to 3c , or in other display modes,such as a display window created near the external touch region. Themode of displaying the word segmentation result and the sequence of eachitem in the word segmentation result can be configured by those skilledin the art according to circumstances. For example, a number or a wordwith a high use probability is displayed in front or highlighted.

In some possible implementations of the present embodiment, afterdisplaying the word segmentation result, the method further includes thefollowing steps.

First, a keyword selection instruction triggered by a user based on theword segmentation result is received.

It should be noted that, as shown in FIGS. 3a to 3c , the user mayselect one or more characters, words or named entities, and may alsoselect continuous or discontinuous characters, words or named entities,from the word segmentation result.

Second, the keyword selected by the user is acquired from the wordsegmentation result in response to the keyword selection instruction;then the keyword is displayed.

As shown in FIG. 4a and FIG. 4b , a user triggers the keyword selectioninstruction by clicking on a word or named entity in the wordsegmentation result. After receiving the keyword selection instruction,the keywords selected by the user is displayed in a noticeable way (suchas highlighting, changing the color or the font of the view control), sothat the user can perform subsequent operations on the keyword.

Next, a keyword operation instruction triggered by the user is received,where the keyword operation instruction carries an operation type, andthe operation type includes searching and sharing.

Finally, the keyword is operated in accordance with the operation type.

After the user selects one or more view controls, operation buttonscorresponding to the various operation types are generated in thecorresponding positions. Then the user clicks the operation button nearthe keyword to trigger the corresponding keyword operation instructionfor the keyword. Different operation buttons represent differentoperation types. After that, the keyword selected by the user isoperated in accordance with the operation type. The operation includesbut is not limited to searching and sharing. FIG. 4a and FIG. 4billustrate an example of performing a search operation on a keyword, andFIGS. 5a to 5c illustrate an example of performing a sharing operationon a keyword, including performing operations on a single character,word or named entity and on multiple characters, words or named entitiesin the word segmentation result.

With the text processing method according to the present embodiment,position information of an external touch is acquired after the externaltouch is sensed by a touch terminal. A word segmentation region isdetermined based on the position information of the external touch, anda character image including a to-be-segment text is acquired from acharacter region. The character image presents a region in which akeyword to be further operated by the user occurs. After that,characters in the character image are recognized to acquire a firsttext, and then word segmentation is performed on the first text toacquire the word segmentation result. Then, the word segmentation resultis displayed, so that the user can select one or more keywords from theword segmentation result to perform a next operation. In this way, thetext processing method according to the present embodiment combinestechnologies of touch sensing, image recognition and word segmentation,so as to acquire efficiently and quickly a character, a word, a namedentity, and the like in the region indicated by the external touch forvarious systems, which is convenient for a user to select a keyworddirectly in the text instead of inputting the keyword in the follow-upoperation, thus improving the efficiency of operation.

Second Embodiment of the Text Processing Method

FIG. 6 is a flowchart of the text processing method according to thesecond embodiment of the present disclosure.

It should be noted that the text processing method provided in thepresent embodiment can be applied to any client device having atouch-sensitive function, including but not limited to a mobile phone, atablet computer or the like.

The text processing method according to the present embodiment includesthe following steps S601 to S605.

in step S601, a character region is displayed on the touch screen.

Understandably, the touch screen is a display device on the clientdevice, for example, a display screen of a mobile phone is a touchscreen. The client device may display different types of content indifferent regions of the touch screen, which may include one or moreregions for displaying characters and one or more regions for displayingimages.

The character region described above is a region containing characters,which may be a region for displaying a text on the touch screen, or aregion for displaying an image on the touch screen, where the imagescontain characters.

It should be noted that, since incompatibility between different systemsmay occur, characters may be displayed in the form of image on thesystem of the touch screen, so that actual characters can not bedirectly acquired by the system.

At this point, in order to process the characters displayed on the touchterminal, a character image on which the character is displayed can beacquired by taking a screenshot of the display region of the touchterminal. And then the image recognition technology is adopted torecognize characters in the character image. After that, the recognizedtext can be processed. In this way, operating a character displayed onthe touch screen can be ensured under different system conditions.

Step S602 includes: a character image is acquired by taking a screenshotof the character region, in response to an external touch to thecharacter region.

It should be noted that, since incompatibility between different systemsmay occur, characters displayed on the touch terminal can not bedirectly acquired. At this point, in order to process the charactersdisplayed on the touch terminal, a character image on which thecharacter is displayed can be acquired by taking a screenshot of thedisplay region of the touch terminal. Then the image recognitiontechnology is adopted to recognize characters in the character image.After that, the recognized text can be processed. In this way, acharacter displayed on the touch control terminal can be operated evenin the case that the character displayed on the touch terminal can notbe directly acquired.

In some possible cases, the character region may be a region fordisplaying an image. In response to an external touch on the characterregion, an image (i.e. a character image) displayed in the region can bedirectly acquired without the process of taking a screenshot of the wordsegmentation region.

In step S603, a to-be-processed text is acquired by recognizingcharacters in the character image.

By sensing the external touch to the corresponding character image by auser, parts of contents in the display region on the touch screen whichneed to be operated can be determined. The external touches include butare not limited to a single-point or multipoint press, a single-point ormultipoint slide operation, a single-point or multipoint touch, asingle-point or multi-point pressure touch, touch region sensing, andthe like. The corresponding external touch can be sensed by the clientdevice when the external operation meets the corresponding sensingthreshold. After performing word segmentation on the characters in atext region, a word segmentation result of multiple words, characters,phases and named entities are acquired. A character recognitiontechnology may be adopted to acquire characters in the text region.

The optical character recognition (OCR) technology may be adopted bythose skilled in the art to recognize characters in the character image.

In step S604, word segmentation is performed on characters in theto-be-processed text.

As an example, those skilled in the art may adopt a natural languagealgorithm to segment the first text according to the specific semanticsof the characters in the first text. Detailed description for the wordsegmentation methods and procedures are omitted herein.

In step S605, the word segmentation result is displayed.

After performing word segmentation on the text of the character image,the word segmentation result is displayed. In this way the user candirectly select the keywords that need further operation from the wordsegmentation result so that the user can directly operate the keywordsin the text.

FIG. 2b shows the word segmentation result of the text in the characterimage shown in FIG. 2 a.

After performing word segmentation on the text displayed in thecharacter image, the word segmentation result is displayed. In this way,keywords that need further operation may be selected directly from theword segmentation result by the user, which can enable the user directlyoperate the keywords in the text.

Understandably, the word segmentation result acquired in the aboveembodiments may be displayed to the user in a window. In addition, theuser may choose to close the keyword selection window to terminate thekeyword selection process.

In some possible implementations of the present embodiment, the step ofdisplaying the word segmentation result specifically includes:generating a word segmentation display interface, where the wordsegmentation display interface includes one or more subviews; anddisplaying each item in the word segmentation result respectively in oneof the subviews.

FIGS. 3a to 3c show a specific implementation of a word segmentationdisplay interface. In the word segmentation display interface, eachrectangle block represents a displayed view control, and each of theview controls is configured to display an item (a character, a word or anamed entity) in the word segmentation result. A display size, a displaylocation or the like of each of the view controls may be configuredaccording to circumstances. For example, the view controls may bedispersed in the word segmentation display interface to facilitateselecting a keyword by the user. Also, characters, words or namedentities in the word segmentation result may be displayed usingdifferent colors, fonts, sizes, or the like as required. For example, adifferent display effect may be employed to show a number or a word witha high probability to be selected by the user from the word segmentationresult. A user may directly click the corresponding view control in theword segmentation display interface when selecting keyword from the wordsegmentation result. The characters, words or named entities in the wordsegmentation result may be separated by a space or a line without aspace. In the case that there are too many items in the wordsegmentation result which can not be fully displayed in one screen in adistinguishable way, the word segmentation result may be displayed tothe user with a single screen supporting a slide operation, or inmultiple screens. In addition, the word segmentation display interfaceor the window includes a close button as the button “×” shown in thelower left corner of FIG. 3c . The user may close the word segmentationdisplay interface or window by clicking the close button.

In addition, the word segmentation display interface may be in thedisplay mode as shown in FIGS. 3a to 3c , or in other display modes,such as a window display created near the external touch region. Themode of displaying the word segmentation result and the sequence of eachitems of the word segmentation result can be configured by those skilledin the art according to circumstances. For example, a number or a wordwith a high use probability is displayed in front or highlighted.

In some possible implementations of the present embodiment, afterdisplaying the word segmentation result, the method further includes thefollowing steps.

First, a keyword selection instruction triggered by a user based on theword segmentation result is received.

It should be noted that, as shown in FIGS. 3a to 3c , the user mayselect one or more characters, words or named entities, and may alsoselect continuous or discontinuous characters, words or named entities,from the word segmentation result.

Second, the keyword selected by the user is acquired from the wordsegmentation result in response to the keyword selection instruction,and then the keyword is displayed.

As shown in FIG. 4a and FIG. 4b , a user triggers the keyword selectioninstruction by clicking on a word or named entity in the wordsegmentation result. After receiving the keyword selection instruction,the keywords selected by the user is displayed in a noticeable way (suchas highlighting, changing the color or the font of the view control), sothat the user can perform subsequent operations on the keyword.

Next, a keyword operation instruction triggered by the user is received,where the keyword operation instruction carries an operation type, andthe operation type includes searching and sharing.

Finally, the keyword is operated in accordance with the operation type.

After the user selects one or more view controls, operation buttonscorresponding to the various operation types are generated in thecorresponding positions. Then the user clicks the operation button nearthe keyword to trigger the corresponding keyword operation instructionfor the keyword. Different operation buttons represent differentoperation types. After that, the keyword selected by the user isoperated in accordance with the operation type. The operation includesbut is not limited to searching and sharing. FIG. 4a and FIG. 4billustrate an example of performing a search operation on a keyword, andFIGS. 5a to 5c illustrate an example of performing a sharing operationon a keyword, including performing operations on a single character,word or named entity and on multiple characters, words or named entitiesin the word segmentation result.

In the text processing device according to the present embodiment, aftera character image is displayed on the touch screen, characters in acharacter image is recognized after an external touch is sensed on thecharacter image, and word segmentation is performed on the recognizedcharacters. Thereafter, the word segmentation result is displayed, sothat the user can select one or more keywords from the word segmentationresult to perform a next operation. The text processing method accordingto the embodiment combines technologies of touch sensing, imagerecognition and word segmentation, so as to acquire efficiently andquickly a character, a word, a named entity, and the like in the regionindicated by the external touch for various systems, which is convenientfor a user to select a keyword directly in the text instead of inputtingthe keyword in the follow-up operation, thus improving the efficiency ofoperation.

According to the text processing method provided in the above embodimentthe embodiment of the present disclosure also provides a text processingdevice.

First Embodiment of the Text Processing Device

FIG. 7 is a schematic structural diagram of the text processing deviceaccording to the first embodiment of the present disclosure.

The text processing device according to the present embodiment includes:a position acquisition module 100, an image acquisition module 200, acharacter recognition module 300, a word segmentation processing module400 and a word segmentation display module 500.

The position acquisition module 100 is configured to acquire positioninformation of an external touch in response to an external touch sensedby a touch terminal.

The image acquisition module 200 is configured to acquire a characterimage based on the position information of the external touch.

As an example, the image acquisition module 200 specifically includes:an acquisition sub-module and a screenshot sub-module (not shown in theFigures).

The acquisition sub-module is configured to acquire a word segmentationregion based on the position information of the external touch.

As an example, the acquisition sub-module specifically includes: aposition information acquisition sub-module, a position relationshipdetermination sub-module and a word segmentation region determinationsub-module (not shown in the Figures).

The position information acquisition sub-module is configured to acquireregion position information of each of display regions of the touchterminal.

The positional relationship determination sub-module is configured todetect a position relationship between the external touch and each ofthe display regions of the touch terminal, based on the positioninformation of the external touch and the region position information ofeach of the display regions of the touch terminal.

The word segmentation region determination sub-module is configured todetermine the first display region as the word segmentation region ifthe external touch falls in the first display region, where the firstdisplay region is one of the display regions of the touch terminal.

The screenshot sub-module is configured to acquire the character imageby taking a screenshot of the word segmentation region.

The character recognition module 300 is configured to acquire a firsttext by recognizing characters in the character image.

The word segmentation processing module 400 is configured to acquire aword segmentation result by performing word segmentation on the firsttext.

In an example, the word segmentation module 400 specifically includes: ajudgment sub-module, a word segmentation sub-module and a determinationsub-module (not shown in the Figures).

The judgment sub-module is configured to judge whether the number ofcharacters of the first text is greater than a preset value.

The word segmentation sub-module is configured to acquire the wordsegmentation result by performing word segmentation on characters in thefirst text, if the judgment sub-module judges that the number ofcharacters of the first text is not greater than the preset value.

The determination sub-module is configured to determine a second textbased on the position information of the external touch if the judgmentsub-module determines that the number of characters of the first text isgreater than the preset value, where the first text includes allcharacters in the second text, and the number of characters of thesecond text is equal to the preset value.

The word segmentation sub-module is further configured to acquire theword segmentation result by performing the word segmentation on allcharacters in the second text, if the judgment sub-module judges thatthe number of characters of the first text is greater than the presetvalue.

The word segmentation display module 500 is configured to display theword segmentation result.

In an example, the word segmentation display module 500 specificallyincludes: a generating sub-module, an adding sub-module and a displaysub-module (neither shown in the Figures).

The generating sub-module is configured to generate a word segmentationdisplay interface and one or more view controls.

The adding sub-module is configured to add each item in the wordsegmentation result respectively into one of the view controls.

The display sub-module is configured to display all of the view controlson the word segmentation display interface.

In some possible implementations, the text processing device accordingto the present embodiment includes: an instruction receiving module, akeyword acquisition module, a keyword display module and a keywordoperation module (not shown in the Figures).

The instruction receiving module is configured to receive a keywordselection instruction triggered by a user based on the word segmentationresult.

The keyword acquisition module is configured to acquire a keywordselected by the user from the word segmentation result in response tothe keyword selection instruction.

The keyword display module is configured to display the keyword.

The instruction receiving module is further configured to receive akeyword operation instruction triggered by the user, where the keywordoperation instruction carries an operation type, and the operation typeincludes searching and sharing.

The keyword operation module is configured to operate the keyword inaccordance with the operation type.

With the text processing device according to the present embodiment,position information of an external touch is acquired by the positionacquisition module after the external touch is sensed by a touchterminal. A word segmentation region is determined by the imageacquisition module based on the position information of the externaltouch, and a character image including a to-be-segment text is from acharacter region. The character image presents a region in which akeyword to be further operated by the user occurs. After that,characters in the character image are recognized by the characterrecognition module to acquire a first text, and then word segmentationis performed on the first text by the word segmentation processingmodule to acquire the word segmentation result. Then, the wordsegmentation result is displayed by the word segmentation displaymodule, so that the user can select one or more keywords from the wordsegmentation result to perform a next operation. In this way, the textprocessing device according to the present embodiment combinestechnologies of touch sensing, image recognition and word segmentation,so as to acquire efficiently and quickly a character, a word, a namedentity, and the like in the region indicated by the external touch forvarious systems, which is convenient for a user to select a keyworddirectly in the text instead of inputting the keyword in the follow-upoperation, thus improving the efficiency of operation.

Second Embodiment of the Text Processing Device

FIG. 8 is a schematic structural diagram of the text processing deviceaccording to the second embodiment of the present disclosure.

The text processing device according to the present embodiment includes:a display module 10, a screenshot module 20, a recognition module 30 anda word segmentation module 40.

The display module 10 is configured to display the character region onthe touch screen.

The screenshot module 20 is configured to acquire a character image bytaking a screenshot of the character region, in response to an externaltouch to the character region.

The recognition module 30 is configured to acquire a to-be-processedtext by recognizing characters in the character image.

The word segmentation module 40 is configured to perform wordsegmentation on characters in the to-be-processed text.

The display module 10 is further configured to display the wordsegmentation result.

In an example, the display module 10 specifically includes: a generatingsub-module and a display sub-module (not shown in the Figures).

The generating sub-module is configured to generate a word segmentationdisplay interface, where the word segmentation display interfaceincludes one or more subviews.

The display sub-module is configured to display each item in the wordsegmentation result respectively in one of the subviews.

In the text processing device according to the present embodiment, afterthe display module displayed a character image on the touch screen, therecognition module recognizes characters in the character image after anexternal touch is sensed on the character image, and the wordsegmentation module performs word segmentation on the recognizedcharacters. Then, the word segmentation result is displayed by displaymodule, so that a user can select one or more keywords from the wordsegmentation result to perform a next operation. The text processingdevice according to the present embodiment combines technologies oftouch sensing, image recognition and word segmentation, so as to acquireefficiently and quickly a character, a word, a named entity, and thelike in the region indicated by the external touch for various systems,which is convenient for a user to select a keyword directly in the textinstead of inputting the keyword in the follow-up operation, thusimproving the efficiency of operation.

It should be noted that the various embodiments of the presentspecification are described in a progressive way, differences from otherembodiments are emphatically illustrated in each of the embodiments, andreference can be made to each other for description of same or similarparts between embodiments. For the device disclosed in the embodiment,since it corresponds to the method disclosed in the embodiment, thedescription is relatively simple and reference can be made to thedescription of the method for the related part.

It should further be note that, relational terms such as first andsecond and the like are used solely to distinguish one entity oroperation from another entity or operation without necessarily requiringor implying any actual such relationship or order between such entitiesor operations. The terms “comprise”, “include” or any other variationthereof, are intended to cover a non-exclusive inclusion, such that aprocess, method, article, or device that includes a list of elementsinclude not only those elements but may also include other elements notexpressly listed or inherent to such process, method, article, ordevice. An element defined by a sentence “comprises a . . . ” withoutany more definitions does not preclude the existence of additionalidentical elements in the process, method, article or device thatincludes the element.

The steps of a method or algorithm described in the embodimentsdisclosed herein may be embodied directly in hardware, in a softwaremodule executed by a processor, or in a combination thereof. A softwaremodule may reside in a Random Access Memory (RAM), a flash memory, aRead Only Memory (ROM), an Electrically Programmable ROM (EPROM), anElectrically Erasable Programmable ROM (EEPROM), a register, a harddisk, a removable disk, a CD-ROM, or any other form of storage mediumknown in the art.

The above only describes preferred embodiments of the present disclosureand is not intended to be limitation to the present disclosure in anymanners. Although the preferred embodiments are disclosed above, thedisclosure is not limited thereto. Those skilled in the art may makevarious changes, modifications or equivalents to the technical solutionof the present disclosure based on the disclosed method and technicalcontent without departing the scope of the disclosed technical solution.Such changes, equivalents or modifications are included within theprotection scope of the technical solution of the present disclosure.

The invention claimed is:
 1. A text processing method, comprising:acquiring position information of an external touch in response to anexternal touch sensed by a touch terminal, wherein the touch terminalcomprises a plurality of distinctive display regions for displayingdifferent contents at different positions of the touch terminal, andwherein at least one of the plurality of distinctive display regionscontains characters to be recognized; acquiring region positioninformation of each of the distinctive display regions of the touchterminal; detecting a position relationship between the external touchand each of the distinctive display regions of the touch terminal, basedon the position information of the external touch and the regionposition information of each of the distinctive display regions of thetouch terminal; and acquiring a character image of at least onedistinctive display region if the external touch falls in the at leastone distinctive display region, the character image being an image of asingle or a subset of the plurality of the distinctive display regions;acquiring a first text by recognizing characters in the character image;acquiring a word segmentation result by performing word segmentation oncharacters in the first text; and displaying the word segmentationresult.
 2. The text processing method according to claim 1, whereinacquiring the character image comprises taking a screenshot of the atleast one distinctive display region.
 3. The text processing methodaccording to claim 2, wherein after displaying the word segmentationresult, the text processing method further comprises: receiving akeyword selection instruction triggered by a user based on the wordsegmentation result; acquiring a keyword selected by the user from theword segmentation result in response to the keyword selectioninstruction; displaying the keyword; receiving a keyword operationinstruction triggered by the user, wherein the keyword operationinstruction carries an operation type, and the operation type comprisessearching and sharing; and operating the keyword in accordance with theoperation type.
 4. The text processing method according to claim 1,wherein the step of displaying the word segmentation result comprises:generating a word segmentation display interface and one or more viewcontrols; adding each item in the word segmentation result respectivelyinto one of the view controls; and displaying all of the view controlson the word segmentation display interface.
 5. The text processingmethod according to claim 4, wherein after displaying the wordsegmentation result, the text processing method further comprises:receiving a keyword selection instruction triggered by a user based onthe word segmentation result; acquiring a keyword selected by the userfrom the word segmentation result in response to the keyword selectioninstruction; displaying the keyword; receiving a keyword operationinstruction triggered by the user, wherein the keyword operationinstruction carries an operation type, and the operation type comprisessearching and sharing; and operating the keyword in accordance with theoperation type.
 6. The text processing method according to claim 1,wherein the step of acquiring a word segmentation result by performingword segmentation on characters in the first text comprises: determiningwhether the number of characters of the first text is greater than apreset value; acquiring the word segmentation result by performing theword segmentation on all characters in the first text if the number ofcharacters of the first text is not greater than the preset value; anddetermining a second text based on the position information of theexternal touch and acquiring the word segmentation result by performingthe word segmentation on all characters in the second text, if thenumber of characters of the first text is greater than the preset value,wherein the first text comprises all characters in the second text, andthe number of characters of the second text is equal to the presetvalue.
 7. The text processing method according to claim 6, wherein afterdisplaying the word segmentation result, the text processing methodfurther comprises: receiving a keyword selection instruction triggeredby a user based on the word segmentation result; acquiring a keywordselected by the user from the word segmentation result in response tothe keyword selection instruction; displaying the keyword; receiving akeyword operation instruction triggered by the user, wherein the keywordoperation instruction carries an operation type, and the operation typecomprises searching and sharing; and operating the keyword in accordancewith the operation type.
 8. The text processing method according toclaim 1, wherein after displaying the word segmentation result, the textprocessing method further comprises: receiving a keyword selectioninstruction triggered by a user based on the word segmentation result;acquiring a keyword selected by the user from the word segmentationresult in response to the keyword selection instruction; displaying thekeyword; receiving a keyword operation instruction triggered by theuser, wherein the keyword operation instruction carries an operationtype, and the operation type comprises searching and sharing; andoperating the keyword in accordance with the operation type.
 9. The textprocessing method according to claim 1, wherein after displaying theword segmentation result, the text processing method further comprises:receiving a keyword selection instruction triggered by a user based onthe word segmentation result; acquiring a keyword selected by the userfrom the word segmentation result in response to the keyword selectioninstruction; displaying the keyword; receiving a keyword operationinstruction triggered by the user, wherein the keyword operationinstruction carries an operation type, and the operation type comprisessearching and sharing; and operating the keyword in accordance with theoperation type.
 10. A text processing device, comprising: a processorconfigured to execute a position acquisition module, an imageacquisition module, a character recognition module, a word segmentationprocessing module and a word segmentation display module, and a memoryconfigured to store the position acquisition module, the imageacquisition module, the character recognition module, the wordsegmentation processing module and the word segmentation display module,wherein the position acquisition module is configured to acquireposition information of an external touch in response to an externaltouch sensed by a touch terminal, wherein the touch terminal comprises aplurality of distinctive display regions for displaying differentcontents at different positions of the touch terminal, and wherein atleast one of the plurality of distinctive display regions containscharacters to be recognized; the image acquisition module is configuredto acquire a character image of at least one distinctive display regionif the external touch falls in the at least one distinctive displayregion, the character image being an image of a single or a subset ofthe plurality of distinctive display regions, wherein the imageacquisition module comprises: a position information acquisitionsub-module configured to acquire region position information of each ofthe distinctive display regions of the touch terminal; and a positionrelationship determination sub-module configured to detect a positionrelationship between the external touch and each of the distinctivedisplay regions of the touch terminal, based on the position informationof the external touch and the region position information of each of thedistinctive display regions of the touch terminal; the characterrecognition module is configured to acquire a first text by recognizingcharacters in the character image; the word segmentation processingmodule is configured to acquire a word segmentation result by performingword segmentation on the first text; and the word segmentation displaymodule is configured to display the word segmentation result.
 11. Thetext processing device according to claim 10, wherein the imageacquisition module comprises a screenshot sub-module configured toacquire the character image by taking a screenshot of the particulardistinctive display region.
 12. The text processing device according toclaim 10, wherein the word segmentation display module comprises: agenerating sub-module, an adding sub-module and a display sub-module;the generating sub-module is configured to generate a word segmentationdisplay interface and one or more view controls; the adding sub-moduleis configured to add each item in the word segmentation resultrespectively into one of the view controls; and the display sub-moduleis configured to display all of the view controls on the wordsegmentation display interface.
 13. The text processing device accordingto claim 10, wherein the word segmentation processing module comprises:a judgment sub-module, a word segmentation sub-module and adetermination sub-module; the judgment sub-module is configured to judgewhether the number of characters of the first text is greater than apreset value; the word segmentation sub-module is configured to acquirethe word segmentation result by performing the word segmentation on allcharacters in the first text, if the judgment sub-module judges that thenumber of characters of the first text is not greater than the presetvalue; the determination sub-module is configured to determine a secondtext based on the position information of the external touch if thejudgment sub-module determines that the number of characters of thefirst text is greater than the preset value, wherein the first textcomprises all characters in the second text, and the number ofcharacters of the second text is equal to the preset value; and the wordsegmentation sub-module is further configured to acquire the wordsegmentation result by performing the word segmentation on allcharacters in the second text, if the judgment sub-module judges thatthe number of characters of the first text is greater than the presetvalue.
 14. The text processing device according to claim 10, furthercomprising: an instruction receiving module, a keyword acquisitionmodule, a keyword display module and a keyword operation module, whereinthe instruction receiving module is configured to receive a keywordselection instruction triggered by a user based on the word segmentationresult; the keyword acquisition module is configured to acquire akeyword selected by the user from the word segmentation result inresponse to the keyword selection instruction; the keyword displaymodule is configured to display the keyword; the instruction receivingmodule is further configured to receive a keyword operation instructiontriggered by the user, wherein the keyword operation instruction carriesan operation type, and the operation type comprises searching andsharing; and the keyword operation module is configured to operate thekeyword in accordance with the operation type.
 15. A text processingdevice, comprising: a processor configured to execute a display module,a screenshot module, a recognition module and a word segmentationmodule, and a memory configured to store the display module, thescreenshot module, the recognition module and the word segmentationmodule, wherein the display module is configured to display a characterregion on the touch screen, wherein the touch terminal comprises aplurality of distinctive display regions for displaying differentcontents at different positions of the touch terminal, and wherein thecharacter region is one of the plurality of distinctive display regionscontaining characters to be recognized; the screenshot module isconfigured to acquire a character image by taking a screenshot of thecharacter region if an external touch falls in the character region, thecharacter image being a screenshot of a single or a subset of theplurality of distinctive display regions; the recognition module isconfigured to acquire a to-be-processed text by recognizing charactersin the character image; the word segmentation module is configured toperform word segmentation on characters in the to-be-processed text; andthe display module is further configured to display the wordsegmentation result.
 16. The text processing device according to claim15, wherein the display module comprises: a generating sub-module and adisplay sub-module; the generating sub-module is configured to generatea word segmentation display interface, wherein the word segmentationdisplay interface comprises one or more subviews; and the displaysub-module is configured to display each item in the word segmentationresult respectively in one of the subviews.